package day02.work01;

public class Antomobile {
    private String brand;
    private String plateNumber;
//构造器
    public Antomobile(){}
    public Antomobile(String brand,String plateNumber){
        this.brand=brand;
        this.plateNumber=plateNumber;
    }
//get、set
    public String getBrand() {
        return brand;
    }
    public void setBrand(String brand) {
        this.brand = brand;
    }
    public String getPlateNumber() {
        return plateNumber;
    }
    public void setPlateNumber(String plateNumber) {
        this.plateNumber = plateNumber;
    }
//成员方法
    public int getRent(int num){ return 0;}
}
